@import '~antd/lib/style/themes/default.less';

.editableItem {
  line-height: @input-height-base;
  display: table;
  width: 100%;
  margin-top: (@font-size-base * @line-height-base - @input-height-base) / 2;

  .wrapper {
    display: table-row;

    & > * {
      display: table-cell;
    }

    & > *:first-child {
      width: 85%;
    }

    .icon {
      cursor: pointer;
      text-align: right;
    }
  }
}

.pictureEdit {
  :global {
    .ant-upload-list-picture-card .ant-upload-list-item-thumbnail,
    .ant-upload-list-picture-card .ant-upload-list-item-thumbnail img {
      width: 80px;
      height: 80px;
      object-fit: contain;
    }
  }
}

:global {
  .ant-upload-list-picture-card .ant-upload-list-item-thumbnail,
  .ant-upload-list-picture-card .ant-upload-list-item-thumbnail img {
    width: 100px;
    height: 100px;
    object-fit: contain;
  }
}
